package kr.hkit.powerjava.chapter11.work;

public class StudentTest {
	public static void main(String[] args) {
		Student s1 = new UnderGraduate("최석열", 20081489, "컴퓨터공학과", 
										"4학년", 140, "OTLab");
		System.out.println(s1);		
		
		Student s2 = new Graduate("김태희", 20041234, "연기학과", 
									"4학년", 140, true, 0.5);
		System.out.println(s2);
		
		Student s3 = new Graduate("이순신", 15701234, "군사학과", 
									"4학년", 140, false, 1);
		System.out.println(s3);
	}
}
